FUNCTION

text.replace

pure function replace(old_value: text, new_value: text): text

Returns the text obtained by replacing all occurrences of the substring old_value in this text with new_value.

Parameters

  • old_value — the substring to be replaced
  • new_value — the replacement substring

Since

0.6.0

© 2026 Chromia